Skip to content

fix: Add missing owns/watches and test early-exit reconcile - #797

Open
adwk67 wants to merge 10 commits into
mainfrom
fix/missing-owns-and-early-exit
Open

fix: Add missing owns/watches and test early-exit reconcile#797
adwk67 wants to merge 10 commits into
mainfrom
fix/missing-owns-and-early-exit

Conversation

@adwk67

@adwk67 adwk67 commented Aug 14, 2026

Copy link
Copy Markdown
Member

Description

Part of stackabletech/issues#878

This PR ensures that the operator now watches all resources that it creates and early-exits the reconcile action when the cluster is marked for deletion. This is tested at unit-test level, as well as by adding a step to one of the kuttl tests to delete all relevant objects and assert that they are re-created.

The graceful timeout has been set on the smoke test, where it was missing, thereby avoiding it being set by default to a period outisde of the assert window.

--- PASS: kuttl (567.18s)
    --- PASS: kuttl/harness (0.00s)
        --- PASS: kuttl/harness/cluster-operation_hbase-latest-2.6.6_hdfs-latest-3.5.0_zookeeper-latest-3.9.5_openshift-false (567.17s)
PASS

Definition of Done Checklist

  • Not all of these items are applicable to all PRs, the author should update this template to only leave the boxes in that are relevant
  • Please make sure all these things are done and tick the boxes

Author

  • Changes are OpenShift compatible
  • CRD changes approved
  • CRD documentation for all fields, following the style guide.
  • Helm chart can be installed and deployed operator works
  • Integration tests passed (for non trivial changes)
  • Changes need to be "offline" compatible
  • Links to generated (nightly) docs added
  • Release note snippet added

Reviewer

  • Code contains useful comments
  • Code contains useful logging statements
  • (Integration-)Test cases added
  • Documentation added or updated. Follows the style guide.
  • Changelog updated
  • Cargo.toml only contains references to git tags (not specific commits or branches)

Acceptance

  • Feature Tracker has been updated
  • Proper release label has been added
  • Links to generated (nightly) docs added
  • Release note snippet added
  • Add type/deprecation label & add to the deprecation schedule
  • Add type/experimental label & add to the experimental features tracker

@adwk67 adwk67 self-assigned this Aug 20, 2026
@adwk67
adwk67 marked this pull request as ready for review August 20, 2026 18:29
@adwk67
adwk67 requested a review from maltesander August 20, 2026 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant